<%-- 
    Document   : frm_insertarSemestre
    Created on : 27/02/2013, 06:59:34 PM
    Author     : Duber Hugo Troncos Siancas(duberhugo3@hotmail.com)
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="Styles/default.css" rel="stylesheet" type="text/css" media="all" />
        <title>Form</title>
    </head>
    <body>
    <center>
        <h1>Insertando Nuevo Semestre!</h1>
        <form:form method="post" action="procesaInsertarSemestre.htm" commandName="SemestreBB">
            <table cellspacing="2" cellpadding="3" border="1" width="50%" style="margin:0 auto" align="center">
                <tr>
                    <td width="50%">CODIGO</td>
                    <td width="50%">
                        <input type="text" name="codSemestre" placeholder="Codigo Semestre" required value="${SemestreBB.codSemestre}"/>
                    </td>
                </tr><tr>
                    <td width="50%">FECHA DE INICIO</td>
                    <td width="50%">
                           <input type="text" name="fecInicio" placeholder="Fecha Inicio" required value="${SemestreBB.fecInicio}"/>
                    </td>
                </tr><tr>
                    <td width="50%">FECHA DE FIN</td>
                    <td width="50%">
                       <input type="text" name="fecFin" placeholder="Fecha Fin" required value="${SemestreBB.fecFin}"/>
                    </td>
                </tr>
                <tr>
                    <td width="50%">VIGENCIA</td>
                    <td width="50%">
                        <form:radiobutton path="vigente" value="true" label="SI"/>
                        <form:radiobutton path="vigente" value="false" label="NO"/>
                    </td>
                </tr>                
                <tr>
                    <td  colspan="2"align="center">
                        <input type="submit" value="Enviar"/>
                    </td>
                </tr>
            </table>
          </form:form>
        <a href="index.htm">inicio</a>
        </center>
    </body>
</html>
